package com.example.comment_oa.pojos.xinzi;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 
 * @TableName jiben_wuxianyijin
 */
@TableName(value ="jiben_wuxianyijin")
@Data
public class JibenWuxianyijin implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer jibenZhujian;

    /**
     * 
     */
    private String jibenId;

    /**
     * 
     */
    private String jibenName;

    /**
     * 
     */
    private String jibenGonghao;

    /**
     * 
     */
    private String jibenBumen;

    /**
     * 
     */
    private Integer jibenBumenid;

    /**
     * 
     */
    private String jibenZhiwu;

    /**
     * 
     */
    private Integer jibenZhiwuid;

    /**
     * 
     */
    private Double jibenYanglaobaoxian;

    /**
     * 
     */
    private Double jibenYiliaobaoxain;

    /**
     * 
     */
    private Double jibenShiyebaoxain;

    /**
     * 
     */
    private Double jibenGongshangbaoxian;

    /**
     * 
     */
    private Double jibenShengyubaoxian;

    /**
     * 
     */
    private Double jibenGongjijinbaoxian;

    /**
     * 
     */
    private Double jibenZonghe;

    /**
     * 
     */
    private Integer jibenIssend;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        JibenWuxianyijin other = (JibenWuxianyijin) that;
        return (this.getJibenZhujian() == null ? other.getJibenZhujian() == null : this.getJibenZhujian().equals(other.getJibenZhujian()))
            && (this.getJibenId() == null ? other.getJibenId() == null : this.getJibenId().equals(other.getJibenId()))
            && (this.getJibenName() == null ? other.getJibenName() == null : this.getJibenName().equals(other.getJibenName()))
            && (this.getJibenGonghao() == null ? other.getJibenGonghao() == null : this.getJibenGonghao().equals(other.getJibenGonghao()))
            && (this.getJibenBumen() == null ? other.getJibenBumen() == null : this.getJibenBumen().equals(other.getJibenBumen()))
            && (this.getJibenBumenid() == null ? other.getJibenBumenid() == null : this.getJibenBumenid().equals(other.getJibenBumenid()))
            && (this.getJibenZhiwu() == null ? other.getJibenZhiwu() == null : this.getJibenZhiwu().equals(other.getJibenZhiwu()))
            && (this.getJibenZhiwuid() == null ? other.getJibenZhiwuid() == null : this.getJibenZhiwuid().equals(other.getJibenZhiwuid()))
            && (this.getJibenYanglaobaoxian() == null ? other.getJibenYanglaobaoxian() == null : this.getJibenYanglaobaoxian().equals(other.getJibenYanglaobaoxian()))
            && (this.getJibenYiliaobaoxain() == null ? other.getJibenYiliaobaoxain() == null : this.getJibenYiliaobaoxain().equals(other.getJibenYiliaobaoxain()))
            && (this.getJibenShiyebaoxain() == null ? other.getJibenShiyebaoxain() == null : this.getJibenShiyebaoxain().equals(other.getJibenShiyebaoxain()))
            && (this.getJibenGongshangbaoxian() == null ? other.getJibenGongshangbaoxian() == null : this.getJibenGongshangbaoxian().equals(other.getJibenGongshangbaoxian()))
            && (this.getJibenShengyubaoxian() == null ? other.getJibenShengyubaoxian() == null : this.getJibenShengyubaoxian().equals(other.getJibenShengyubaoxian()))
            && (this.getJibenGongjijinbaoxian() == null ? other.getJibenGongjijinbaoxian() == null : this.getJibenGongjijinbaoxian().equals(other.getJibenGongjijinbaoxian()))
            && (this.getJibenZonghe() == null ? other.getJibenZonghe() == null : this.getJibenZonghe().equals(other.getJibenZonghe()))
            && (this.getJibenIssend() == null ? other.getJibenIssend() == null : this.getJibenIssend().equals(other.getJibenIssend()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getJibenZhujian() == null) ? 0 : getJibenZhujian().hashCode());
        result = prime * result + ((getJibenId() == null) ? 0 : getJibenId().hashCode());
        result = prime * result + ((getJibenName() == null) ? 0 : getJibenName().hashCode());
        result = prime * result + ((getJibenGonghao() == null) ? 0 : getJibenGonghao().hashCode());
        result = prime * result + ((getJibenBumen() == null) ? 0 : getJibenBumen().hashCode());
        result = prime * result + ((getJibenBumenid() == null) ? 0 : getJibenBumenid().hashCode());
        result = prime * result + ((getJibenZhiwu() == null) ? 0 : getJibenZhiwu().hashCode());
        result = prime * result + ((getJibenZhiwuid() == null) ? 0 : getJibenZhiwuid().hashCode());
        result = prime * result + ((getJibenYanglaobaoxian() == null) ? 0 : getJibenYanglaobaoxian().hashCode());
        result = prime * result + ((getJibenYiliaobaoxain() == null) ? 0 : getJibenYiliaobaoxain().hashCode());
        result = prime * result + ((getJibenShiyebaoxain() == null) ? 0 : getJibenShiyebaoxain().hashCode());
        result = prime * result + ((getJibenGongshangbaoxian() == null) ? 0 : getJibenGongshangbaoxian().hashCode());
        result = prime * result + ((getJibenShengyubaoxian() == null) ? 0 : getJibenShengyubaoxian().hashCode());
        result = prime * result + ((getJibenGongjijinbaoxian() == null) ? 0 : getJibenGongjijinbaoxian().hashCode());
        result = prime * result + ((getJibenZonghe() == null) ? 0 : getJibenZonghe().hashCode());
        result = prime * result + ((getJibenIssend() == null) ? 0 : getJibenIssend().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", jibenZhujian=").append(jibenZhujian);
        sb.append(", jibenId=").append(jibenId);
        sb.append(", jibenName=").append(jibenName);
        sb.append(", jibenGonghao=").append(jibenGonghao);
        sb.append(", jibenBumen=").append(jibenBumen);
        sb.append(", jibenBumenid=").append(jibenBumenid);
        sb.append(", jibenZhiwu=").append(jibenZhiwu);
        sb.append(", jibenZhiwuid=").append(jibenZhiwuid);
        sb.append(", jibenYanglaobaoxian=").append(jibenYanglaobaoxian);
        sb.append(", jibenYiliaobaoxain=").append(jibenYiliaobaoxain);
        sb.append(", jibenShiyebaoxain=").append(jibenShiyebaoxain);
        sb.append(", jibenGongshangbaoxian=").append(jibenGongshangbaoxian);
        sb.append(", jibenShengyubaoxian=").append(jibenShengyubaoxian);
        sb.append(", jibenGongjijinbaoxian=").append(jibenGongjijinbaoxian);
        sb.append(", jibenZonghe=").append(jibenZonghe);
        sb.append(", jibenIssend=").append(jibenIssend);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}